<template>
  <section>
    <p>
      <!-- 完整语法 -->
      <a v-bind:href="url">Abbr</a>
      <br>
      <!-- 缩写 -->
      <a :href="url">Abbr</a>
    </p>
    <p>
      <!-- 完整语法 -->
      <a v-on:click="onSomething">Abbr</a>
      <br>
      <!-- 缩写 -->
      <a :click="onSomething">Abbr</a>
    </p>
  </section>
</template>

<script>
export default {
  name: "Abbr",
  data() {
    return {
      url: "abbr"
    };
  },
  methods: {
    onSomething() {}
  }
};
</script>